<div class="nhomths view">
<h2><?php  __('Nhomth');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $nhomth['Nhomth']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Lapnhom'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($nhomth['Lapnhom']['id'], array('controller' => 'lapnhoms', 'action' => 'view', $nhomth['Lapnhom']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Nhom'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $nhomth['Nhomth']['nhom']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Soluong'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $nhomth['Nhomth']['soluong']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Sửa', true), array('action' => 'edit', $nhomth['Nhomth']['id'])); ?> </li>
		<li><?php echo $html->link(__('Xóa', true), array('action' => 'delete', $nhomth['Nhomth']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $nhomth['Nhomth']['id'])); ?> </li>
		<li><?php echo $html->link(__('Danh sách nhóm', true), array('action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm nhóm thực hành', true), array('action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Nhóm thực hành đã lập', true), array('controller' => 'lapnhoms', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Lập nhóm thực hành mới', true), array('controller' => 'lapnhoms', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Danh sách đăng ký', true), array('controller' => 'dangkies', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm đăng ký', true), array('controller' => 'dangkies', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Thông tin thực hành', true), array('controller' => 'thuchanhs', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm thông tin thực hành', true), array('controller' => 'thuchanhs', 'action' => 'add')); ?> </li>
	</ul>
</div>
	<div class="related">
		<h3><?php  __('Related Dangkies');?></h3>
	<?php if (!empty($nhomth['Dangky'])):?>
		<dl>	<?php $i = 0; $class = ' class="altrow"';?>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $nhomth['Dangky']['id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Sinhvien Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $nhomth['Dangky']['sinhvien_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Nhomth Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $nhomth['Dangky']['nhomth_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaydk');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $nhomth['Dangky']['ngaydk'];?>
&nbsp;</dd>
		</dl>
	<?php endif; ?>
		<div class="actions">
			<ul>
				<li><?php echo $html->link(__('Sửa thông tin đăng ký', true), array('controller' => 'dangkies', 'action' => 'edit', $nhomth['Dangky']['id'])); ?></li>
			</ul>
		</div>
	</div>
		<div class="related">
		<h3><?php  __('Related Thuchanhs');?></h3>
	<?php if (!empty($nhomth['Thuchanh'])):?>
		<dl>	<?php $i = 0; $class = ' class="altrow"';?>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $nhomth['Thuchanh']['id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tuan Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $nhomth['Thuchanh']['tuan_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Nhomth Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $nhomth['Thuchanh']['nhomth_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Phong Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $nhomth['Thuchanh']['phong_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Buoi');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $nhomth['Thuchanh']['buoi'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngayth');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $nhomth['Thuchanh']['ngayth'];?>
&nbsp;</dd>
		</dl>
	<?php endif; ?>
		<div class="actions">
			<ul>
				<li><?php echo $html->link(__('Sửa thông tin thực hành', true), array('controller' => 'thuchanhs', 'action' => 'edit', $nhomth['Thuchanh']['id'])); ?></li>
			</ul>
		</div>
	</div>
	<div class="related">
	<h3><?php __('Related Dangkies');?></h3>
	<?php if (!empty($nhomth['Dangky'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Sinhvien Id'); ?></th>
		<th><?php __('Nhomth Id'); ?></th>
		<th><?php __('Ngaydk'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($nhomth['Dangky'] as $dangky):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $dangky['id'];?></td>
			<td><?php echo $dangky['sinhvien_id'];?></td>
			<td><?php echo $dangky['nhomth_id'];?></td>
			<td><?php echo $dangky['ngaydk'];?></td>
			<td class="actions">
				<?php echo $html->link(__('Hiển thị', true), array('controller' => 'dangkies', 'action' => 'view', $dangky['id'])); ?>
				<?php echo $html->link(__('Sửa', true), array('controller' => 'dangkies', 'action' => 'edit', $dangky['id'])); ?>
				<?php echo $html->link(__('Xóa', true), array('controller' => 'dangkies', 'action' => 'delete', $dangky['id']), null, sprintf(__('Bạn có chắc muốn xóa không?', true), $dangky['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('Thêm đăng ký', true), array('controller' => 'dangkies', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Thuchanhs');?></h3>
	<?php if (!empty($nhomth['Thuchanh'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Tuan Id'); ?></th>
		<th><?php __('Nhomth Id'); ?></th>
		<th><?php __('Phong Id'); ?></th>
		<th><?php __('Buoi'); ?></th>
		<th><?php __('Ngayth'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($nhomth['Thuchanh'] as $thuchanh):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $thuchanh['id'];?></td>
			<td><?php echo $thuchanh['tuan_id'];?></td>
			<td><?php echo $thuchanh['nhomth_id'];?></td>
			<td><?php echo $thuchanh['phong_id'];?></td>
			<td><?php echo $thuchanh['buoi'];?></td>
			<td><?php echo $thuchanh['ngayth'];?></td>
			<td class="actions">
				<?php echo $html->link(__('Hiển thị', true), array('controller' => 'thuchanhs', 'action' => 'view', $thuchanh['id'])); ?>
				<?php echo $html->link(__('Sửa', true), array('controller' => 'thuchanhs', 'action' => 'edit', $thuchanh['id'])); ?>
				<?php echo $html->link(__('Xóa', true), array('controller' => 'thuchanhs', 'action' => 'delete', $thuchanh['id']), null, sprintf(__('Bạn có chắc muốn xóa không?', true), $thuchanh['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('Thêm thông tin thực hành', true), array('controller' => 'thuchanhs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
